package com.example.goodsconsumer.hystrix;

import com.example.goodsconsumer.feign.GoodsFeign;
import com.myshop.b2b.commonmodule.Cart;
import com.myshop.b2b.commonmodule.Goods;
import com.myshop.b2b.commonmodule.Userorder;

import java.util.List;

/**
 * @author likaiping
 * @createTime 2024/7/3 16:19
 */
public class GoodsFeignHystrix implements GoodsFeign {
    @Override
    public List<Goods> getAllgoods() {
        return null;
    }

    @Override
    public List<Goods> getOnegoods(String gname) {
        return null;
    }

    @Override
    public Goods getOnegid(int gid) {
        return null;
    }

    @Override
    public int updateCart(int number, int id) {
        return 0;
    }

    @Override
    public int intcart(String goodsname, int number, int price, int goodid, int uid) {
        return 0;
    }

    @Override
    public List<Cart> getAllcart(int uid) {
        return null;
    }

    @Override
    public int deleteCart(int gid) {
        return 0;
    }

    @Override
    public int insertOrder(String goodsname, int number, int price, int uid) {
        return 0;
    }

    @Override
    public List<Userorder> getAllorder(int uid) {
        return null;
    }

    @Override
    public boolean updateCartNumber(int number, int id) {
        return false;
    }
}
